package com.example.simple.work.service;

import com.example.simple.work.entity.EmployeeMessage;

import java.util.List;

public interface IEmployeeService {
    /**
     * 插入员工信息--重构
     * */
    void insert(EmployeeMessage employeeMessage);

    /**
     * 删除员工信息--重构
     * */
    void delete(String employeeId);

    /**
     * 查询所有员工信息的数据--重构
     * */
    List<EmployeeMessage> findAllEmployeeMessageData();

    /**
     * 根据员工姓名查询员工信息--重构
     * */
    List<EmployeeMessage> findMessageByEmployeeName(String employeeName);

    /**
     * 修改员工信息
     * */
    void changeEmployee(String employeeId,EmployeeMessage employeeMessage);

    /**
     * 批量插入
     * */
    void insertList(List<EmployeeMessage> employeeMessageList);




}
